package com.dkd.sbtz.domain.mtplan;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class MtplanSpareHistoryVO {
    private Long id;

    private Long assetId;
    private String assetName;   // a.name
    private String assetCode;   // a.code

    private Long planId;
    private Long spareId;
    private String spareCode;   // s.code
    private String spareName;   // s.name
    private Integer stockTotal;       // s.stock_total
    private Integer stockAvailable;   // s.stock_available

    private Integer qty;
    private String remark;

    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
